🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / model / src / commonMain / kotlin / org / meshtastic / core / model / util / GeoConstants.kt
Displaying Raw • Download
core/model/src/commonMain/kotlin/org/meshtastic/core/model/util/GeoConstants.kt 4e15ef1c7f68f8c683fe8b7ff741a5167e154d2e (4e15ef1c) Text, 1.21 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.model.util
T8b949e/** Common geographic constants for coordinate conversions. */
Tff7b72object T56d364GeoConstants Tb4b4b4{
T8b949e/** Multiplier to convert protobuf integer coordinates (1e-7 degree units) to decimal degrees. */
Tff7b72const Tff7b72val Te6edf3DEG_D Tff7b72= T79c0ff1e-7
T8b949e/** Multiplier to convert protobuf integer heading values (1e-5 degree units) to decimal degrees. */
Tff7b72const Tff7b72val Te6edf3HEADING_DEG Tff7b72= T79c0ff1e-5
T8b949e/** Mean radius of the Earth in meters, for haversine calculations. */
Tff7b72const Tff7b72val Te6edf3EARTH_RADIUS_METERS Tff7b72= T79c0ff6Te6edf3_371_000Tb4b4b4.T79c0ff0
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.04s